/**
 * Created by felix on 2017/2/25.
 */
import React from 'react';

function TD({ data, width }) {
    return (
        <td
            style={width && width !== 'auto'
                ? {
                    width: `${width}px`,
                }
                : null
            }
        >
            {data}
        </td>
    );
}

export default TD;
